#include "dbconnection.h"

DBConnection::DBConnection()
{

}

void DBConnection::setHost(QString host)
{
    m_host = host;
}

void DBConnection::setPort(QString port)
{
    m_port = port;
}

void DBConnection::setUser(QString user)
{
    m_user = user;
}

void DBConnection::setPassword(QString password)
{
    m_password = password;
}

void DBConnection::setName(QString name)
{
    m_name = name;
}

void DBConnection::setType(uint8_t type)
{
    m_type = type;
}

QString DBConnection::getHost()
{
    return m_host;
}

QString DBConnection::getPort()
{
    return m_port;
}

QString DBConnection::getUser()
{
    return m_user;
}

QString DBConnection::getPassword()
{
    return m_password;
}


QString DBConnection::getName()
{
    return m_name;
}

uint8_t DBConnection::getType()
{
    return m_type;
}
